<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@include file="../../common/taglib.jsp" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <%@include file="../../common/common-css.jsp" %>
    <%@include file="../../common/common-js.jsp" %>
    <%@include file="../../common/init.jsp" %>
  </head>
  
  <body>
  <div style="height: 100%;overflow-y: auto;">
<form action="${pageContext.servletContext.contextPath }/background/role/update.html" method="post" data-validator-option="{theme:'yellow_right_effect',stopOnError:true}">
		<input type="hidden" name="id" value="${role.id}">
		<div class="right">
        	<div class="volume">
            	<img src="${pageContext.servletContext.contextPath }/images/toleft.png" style="margin:23px 0 0 2px;_margin:23px 0 0 0px;" />
            </div>
        	<div class="rightcon">
            	<div class="title">
                	您当前的位置：首页 >角色管理 > 修改角色
                </div>
                	<div class="titlecon">
                           	修改角色
                    </div>
                	<div class="addlist">
                        
                        	<table class="addlistcon" border="0" cellpadding="0" cellspacing="0">
                            	<tr>
                                	<td width="30%" align="right" class="odd"><span style="color:#900">*</span>角色名：
                                    </td>
                                    <td width="70%"  class="even">
                                   <input style="height: 20px;width: 200px" name="name" value="${role.name}" type="text" data-rule="角色名: required;name;"/>
                                    </td>
                                </tr>
                                <tr>
                                	<td  align="right" class="odd"><span style="color:#900">*</span>角色roleKey：
                                    </td>
                                    <td   class="even"> 
                                    <input style="height: 20px;width: 200px" name="roleKey" value="${role.roleKey}" type="text" data-rule="角色roleKey: required;name;"/>
                                    </td>
                                </tr>
                                 <tr>
                                	<td  align="right" class="odd"><span style="color:#900">*</span>是否禁用：
                                    </td>
                                    <td   class="even"> 
                                    <input name="enable" type="radio" <c:if test="${role.enable eq '0'}">checked="checked"</c:if> value="0"/>:禁用　　
								<input name="enable" type="radio" <c:if test="${role.enable eq '1'}">checked="checked"</c:if> value="1"/>:正常
                                    </td>
                                </tr>
                                 <tr>
                                	<td  align="right" class="odd"><span style="color:#900"></span>描述：
                                    </td >
                                    <td align="left"><textarea name="description">${role.description}</textarea>
                                    </td>
                                </tr>
                             
                              </table> 
                             <div class="savere" style="float:center; margin-left:34%; _margin-left:17%;">
                               <input type="image" src="${pageContext.servletContext.contextPath }/images/baocun.png" width="101" height="46"/>
							        <a href="javascript:history.go(-1)" ><img src="${pageContext.servletContext.contextPath }/images/fanhui.png" width="101" height="46"></a>
                            </div>
                         
                    </div><!--addlist-->
            </div><!--rightcon-->
        </div><!--right-->
</form>
</div>
  </body>
</html>
